package org.walkerljl.boss.service.auth.impl;

import org.springframework.stereotype.Service;
import org.walkerljl.boss.dao.auth.PostDao;
import org.walkerljl.boss.domain.auth.Post;
import org.walkerljl.boss.service.auth.PostService;
import org.walkerljl.boss.support.dao.BaseDao;
import org.walkerljl.boss.support.service.impl.BaseServiceImpl;

import javax.annotation.Resource;

/**
 * PostServiceImpl
 *
 * @author lijunlin
 */
@Service("postService")
public class PostServiceImpl extends BaseServiceImpl<Long, Post> implements PostService {

    @Resource
    private PostDao postDao;

    @Override
    public BaseDao<Long, Post> getDao() {
        return postDao;
    }
}